package com.yc.star.booksystem.mapper;

import com.yc.star.booksystem.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserMapper {

    @Select("select * from user_info where delete_flag = 0 and user_name = #{userName}")
    UserInfo getUser( String userName);

}
